package com.java.system.common.entity.admin;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
/*import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;*/
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * sys_clinet_role
 *
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-09-21 16:45:38
 */
@ApiModel(value = "sys_clinet_role")
@Table(name = "sys_clinet_role")
@Data
@Accessors(chain = true)
public class SysClinetRole implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private String id;
    /**
     * 客户端id
     */
    @Column(name = "client_id")
    @ApiModelProperty(value = "客户端id")
    private String clientId;

    /**
     * 角色id
     */
    @Column(name = "role_id")
    @ApiModelProperty(value = "角色id")
    private String roleId;

    @Column(name = "company_id")
    @ApiModelProperty(value = "公司id")
    private String companyId;
    /**
     * crt_time
     */
    @Column(name = "crt_time")
    @ApiModelProperty(value = "crt_time")
    private Date crtTime;

    /**
     * crt_user
     */
    @Column(name = "crt_user")
    @ApiModelProperty(value = "crt_user")
    private String crtUser;

    /**
     * crt_name
     */
    @Column(name = "crt_name")
    @ApiModelProperty(value = "crt_name")
    private String crtName;

    /**
     * crt_host
     */
    @Column(name = "crt_host")
    @ApiModelProperty(value = "crt_host")
    private String crtHost;

}
